QT       += core gui concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    mainwindow.cpp

HEADERS += \
    mainwindow.h
FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibcurl
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibcurl
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibcurl


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibeay32
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibeay32
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibeay32


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -lssleay32
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -lssleay32
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -lssleay32


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -lWS2_32
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -lWS2_32
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -lWS2_32


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -ljsoncpp
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -ljsoncpp
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -ljsoncpp


win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibeay32
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibeay32
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/baiduocr/dll/ -llibeay32

INCLUDEPATH += $$PWD/../../DllLee/ocr/baiduocr/3rd
DEPENDPATH += $$PWD/../../DllLee/ocr/baiduocr/3rd

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/Ocr/dll/ -lOcr
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../DllLee/ocr/Ocr/dll/ -lOcr
else:unix: LIBS += -L$$PWD/../../DllLee/ocr/Ocr/dll/ -lOcr

INCLUDEPATH += $$PWD/../../DllLee/ocr/Ocr/qwe
DEPENDPATH += $$PWD/../../DllLee/ocr/Ocr/qwe
